package org.han.permission.service;

import org.han.base.service.IBaseService;
import org.han.permission.domain.Role;
import org.han.permission.dto.RolePermissionDTO;

import java.util.List;

public interface IRoleService extends IBaseService<Role> {

    // 添加角色权限
    void saveRolePermission(RolePermissionDTO dto);

    // 查询角色权限
    List<String> getRolePermissionSns(Long roleId);

}
